/*    */ package com.umeng.fb.model;
/*    */ 
/*    */ import org.json.JSONException;
/*    */ import org.json.JSONObject;
/*    */ 
/*    */ public class DevReply extends Reply
/*    */ {
/*    */   protected String a;
/*    */ 
/*    */   private DevReply(String paramString1, String paramString2, String paramString3, String paramString4, String paramString5)
/*    */   {
/* 19 */     super(paramString1, paramString2, paramString3, paramString4, Reply.TYPE.DEV_REPLY);
/* 20 */     this.a = paramString5;
/*    */   }
/*    */ 
/*    */   public DevReply(JSONObject paramJSONObject) throws JSONException {
/* 24 */     super(paramJSONObject);
/*    */ 
/* 26 */     if (this.g != Reply.TYPE.DEV_REPLY) {
/* 27 */       throw new JSONException(DevReply.class.getName() + ".type must be " + 
/* 28 */         Reply.TYPE.DEV_REPLY);
/*    */     }
/* 30 */     this.a = paramJSONObject.optString("user_name", "");
/*    */   }
/*    */ 
/*    */   public JSONObject toJson() {
/* 34 */     JSONObject localJSONObject = super.toJson();
/* 35 */     if (localJSONObject != null) {
/*    */       try {
/* 37 */         localJSONObject.put("user_name", this.a);
/* 38 */         return localJSONObject;
/*    */       } catch (JSONException localJSONException) {
/* 40 */         localJSONException.printStackTrace();
/*    */       }
/*    */     }
/* 43 */     return null;
/*    */   }
/*    */ }

/* Location:           C:\Users\Administrator\Desktop\umeng_sdk.jar
 * Qualified Name:     com.umeng.fb.model.DevReply
 * JD-Core Version:    0.6.2
 */